import request from '@/utils/request'
export const getrefreshToken = (refreshToken) => {
  return request({
  	url:'/system/auth/refresh-token?refreshToken='+ refreshToken,
  	method: 'post',
  })
};

// 使用租户名，获得租户编号
export const getTenantIdByName = (name) => {
	return request({
		url:'/system/tenant/get-id-by-name?name=' + name,
		method: 'get',
	})
}